package com.qr.bean.wmyh;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:01:39
 * 分离出查询实体
 */
@ApiModel(value = "jbr_base_area", description = "全国省市区街道")
@TableName(value = "jbr_base_area")
public class JbrBaseAreaView implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "编码")
	@TableField(value="code")
	private Integer code;
	@ApiModelProperty(value = "上级ID")
	@TableField(value="pid")
	private Integer pid;
	@ApiModelProperty(value = "级别")
	@TableField(value="level")
	private Integer level;
	@ApiModelProperty(value = "名称")
	@TableField(value="name")
	private Integer name;
	@ApiModelProperty(value = "状态:开放=1 关闭=0")
	@TableField(value="is_open")
	private Integer is_open;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
 
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
 
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
 
	public Integer getName() {
		return name;
	}
	public void setName(Integer name) {
		this.name = name;
	}
 
	public Integer getIs_open() {
		return is_open;
	}
	public void setIs_open(Integer is_open) {
		this.is_open = is_open;
	}

}